<HTML>
<HEAD>
<meta charset="UTF-8">
<title>Card.create - stripe</title>
<link rel="stylesheet" href="../../../style.css">
</HEAD>
<BODY>
<a href="../../index.html">stripe</a>&nbsp;/&nbsp;<a href="../index.html">com.stripe.android.model</a>&nbsp;/&nbsp;<a href="index.html">Card</a>&nbsp;/&nbsp;<a href="./create.html">create</a><br/>
<br/>
<h1>create</h1>
<a name="com.stripe.android.model.Card.Companion$create(kotlin.String, kotlin.Int, kotlin.Int, kotlin.String)"></a>
<code><span class="identifier">@JvmStatic</span> <span class="keyword">fun </span><span class="identifier">create</span><span class="symbol">(</span><span class="identifier" id="com.stripe.android.model.Card.Companion$create(kotlin.String, kotlin.Int, kotlin.Int, kotlin.String)/number">number</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.Card.Companion$create(kotlin.String, kotlin.Int, kotlin.Int, kotlin.String)/expMonth">expMonth</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.Card.Companion$create(kotlin.String, kotlin.Int, kotlin.Int, kotlin.String)/expYear">expYear</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html"><span class="identifier">Int</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">, </span><span class="identifier" id="com.stripe.android.model.Card.Companion$create(kotlin.String, kotlin.Int, kotlin.Int, kotlin.String)/cvc">cvc</span><span class="symbol">:</span>&nbsp;<a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html"><span class="identifier">String</span></a><span class="symbol">?</span>&nbsp;<span class="symbol">=</span>&nbsp;null<span class="symbol">)</span><span class="symbol">: </span><a href="index.html"><span class="identifier">Card</span></a></code>
<p>Convenience constructor for a Card object with a minimum number of inputs.</p>
<h3>Parameters</h3>
<p><a name="number"></a>
<code>number</code> - the card number</p>
<p><a name="expMonth"></a>
<code>expMonth</code> - the expiry month</p>
<p><a name="expYear"></a>
<code>expYear</code> - the expiry year</p>
<p><a name="cvc"></a>
<code>cvc</code> - the CVC code</p>
</BODY>
</HTML>
